package com.lin.lostandfound.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.lostandfound.bean.User;
import com.lin.lostandfound.provider.SQLSelectProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @SelectProvider(value = SQLSelectProvider.class,method = "getusercount" )
    Integer getusercount(String key);
    /*@SelectProvider(value = SQLSelectProvider.class,method = "getuserlist" )
    Long getuserlist(String key);*/
}
